package org.sixtynine.stock.dao;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.MonthlyShareData;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface MonthlyShareDataDao extends
		AbstractDao<MonthlyShareData, Integer> {

	void saveMonthlyShareData(MonthlyShareData monthlyShareData);

	List<MonthlyShareData> findMonthlyShareData(int companyId);

	List<MonthlyShareData> searchMonthlyShareData(int companyId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	public Page<MonthlyShareData> searchMonthlyShareData(int companyId,
			Date fromDate, Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteMonthlyShareData(int companyId, Date fromDate, Date toDate);
}
